package org.hpin.asset.entity;

import java.util.Date;

import org.hpin.common.core.orm.BaseEntity;

/**
 * AssetDamageInfo entity. @author MyEclipse Persistence Tools
 */

public class AssetDamageInfo extends BaseEntity {

	// Fields

	private String id;
	private String assetno;
	private String deviceName;
	private String state;
	private Date createTime;
	private String scrapWay;
	private String damageNo;
	private String remark;
	private Date time;

	// Constructors

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	/** default constructor */
	public AssetDamageInfo() {
	}

	/** minimal constructor */
	public AssetDamageInfo(String assetno, String deviceName, String state,
			Date createTime) {
		this.assetno = assetno;
		this.deviceName = deviceName;
		this.state = state;
		this.createTime = createTime;
	}

	/** full constructor */
	public AssetDamageInfo(String assetno, String deviceName, String state,
			Date createTime, String scrapWay, String damageNo, String remark) {
		this.assetno = assetno;
		this.deviceName = deviceName;
		this.state = state;
		this.createTime = createTime;
		this.scrapWay = scrapWay;
		this.damageNo = damageNo;
		this.remark = remark;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAssetno() {
		return this.assetno;
	}

	public void setAssetno(String assetno) {
		this.assetno = assetno;
	}

	public String getDeviceName() {
		return this.deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getScrapWay() {
		return this.scrapWay;
	}

	public void setScrapWay(String scrapWay) {
		this.scrapWay = scrapWay;
	}

	public String getDamageNo() {
		return this.damageNo;
	}

	public void setDamageNo(String damageNo) {
		this.damageNo = damageNo;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}